x11: fix crash on idle compute size without layout
authorRafostar <40623528+Rafostar@users.noreply.github.com>
Sun, 3 Jan 2021 17:02:31 +0000 (18:02 +0100)
committerRafostar <40623528+Rafostar@users.noreply.github.com>
Sun, 3 Jan 2021 17:02:31 +0000 (18:02 +0100)
commit53af35d25636118ad513b21fee670b38b0c2a814
treecddd3348b6e70ef53bee80df0487c0e1ec61b6e6
parent51a6b29e0198560347183935a9caf6a768fa8e76
x11: fix crash on idle compute size without layout

On x11 toplevel layout is not created before toplevel
is presented, but GTK tries to update it on idle
which leads to a crash due to accessing property
of undefined object. Treat soon to be created layout
as a layout with default values upon creation (resizable).
gdk/x11/gdksurface-x11.c